.page{
    height: 100vh;
    position: relative;
    padding-bottom: $tab-bar-height;
    background: #fff;
}

.abc{
    height: 100%;
    display: flex;
    flex-direction: column;
}


.pageWrap{
    flex: 1;
    display: flex;
    flex-direction: column;

    .wrap{
        flex: 1;
        position: relative;

        .mounte{
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            overflow-y: auto;
        }
    }
}






.statistics{
    width: 100%;
    height: 182rpx;
    border-radius: 24rpx;
    box-shadow: 0px 4px 8px 0px #0052D933;
    background: #0052D9;

    display: flex;
    align-items: center;

    
    .name{
        color: rgba(255, 255, 255, 0.65);
        font-size: 24rpx;
        line-height: 28rpx;
    }

    .total{
        width: 110px;
        text-align: center;
        .num{
            color: #fff;
            font-weight: 700;
            font-size: 48rpx;
            line-height: 68rpx;
            margin-top: 10rpx;
        }
    }

    .blank{
        height: 92rpx;
        width: 2rpx;
        display: block;
        background: rgba(0, 0, 0, 0.1);
    }

    .items{
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .item{
            flex: 1;
            text-align: center;
        }

        .num{
            color: #fff;
            font-weight: 700;
            font-size: 32rpx;
            line-height: 45rpx;
            margin-top: 10rpx;
        }
    }

}

.topApps{
    display: flex;
    align-items: center;
    margin: 30rpx 0;

    .app{
        flex: 1;
        display: flex;
        justify-content: center;

        .name{
            font-size: 32rpx;
            color: #878B93;
            position: relative;
            font-weight: 500;

            &.selected{
                color: #000;
                

                &::after{
                    content: '';
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 148rpx;
                    height: 20rpx;
                    border-radius: 100rpx;
                    background: linear-gradient(90deg, rgba(0, 82, 217, 0.35) 0%, rgba(0, 82, 217, 0) 80%);
                    z-index: 0;
                }
            }

            
        }
    }
}


.categorys{
    height: 100%;
    display: flex;

    .left{
        width: 160rpx;
        position: relative;
        background: $background-color;
        text-align: center;
        ._wrap{
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            overflow-y: auto;
        }

        .item{
            line-height: 120rpx;
            font-size: 24rpx;
            color: rgba(0, 0, 0, 0.45);
            padding: 0 4rpx;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

            &.selected{
                font-size: 28rpx;
                color: #000;
                background-color: #fff;
                font-weight: bold;
            }
        }
    }

    .right{
        flex: 1;
        position: relative;
        ._wrap{
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            overflow-y: auto;
            padding: 0 $base-space;
        }
    }

    .currentCategory{
        height: 80rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .name{
            font-size: 28rpx;
            color: rgba(0, 0, 0, 0.9);
            font-weight: bold;
        }

        .count{
            font-size: 24rpx;
            color: #90A3BF;
        }
    }

    .items{
        .item{
            display: flex;
            align-items: center;
            margin-top: 30rpx;
            &:first-of-type{
                margin-top: 0;
            }
        }

        .icon{
            // width: 80rpx;
            // height: 80rpx;
            // display: block;
        }

        .content {
            flex: 1;
            margin:0 20rpx;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            .name{
                line-height: 48rpx;
                font-size: 28rpx;
                font-weight: bold;
                color: $base-font-color;
            }

            .count{
                line-height: 40rpx;
                font-size: 24rpx;
                color: #909399;
            }

            .desc{
                line-height: 40rpx;
                font-size: 24rpx;
                color: #909399;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
        
    }
}


.tabs{
    background-color: #fff;
    position: sticky;
    z-index: 10;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    border-bottom: 1rpx solid $background-color;
    .tab{
        flex: 1;
        display: flex;
        justify-content: center;

        .title{
            line-height: 90rpx;
            color: #878B93;
            font-size: 32rpx;
            position: relative;

            &.selected{
                color: #000;
                &::after{
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 6rpx;
                    left: 0;
                    bottom: 0;
                    background-color: $primary-color;
                }
            }
        }

        
    }
}